// samsting : this file is auto create.

#include "Ecs/2014-05-26/DescribeVSwitchesRequest.h"

namespace aliyun { namespace Ecs {

DescribeVSwitchesRequest::DescribeVSwitchesRequest() : RpcAcsRequest("Ecs", "2014-05-26", "DescribeVSwitches") {
}

int64 DescribeVSwitchesRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void DescribeVSwitchesRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& DescribeVSwitchesRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void DescribeVSwitchesRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 DescribeVSwitchesRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void DescribeVSwitchesRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& DescribeVSwitchesRequest::GetVpcId(void) const {
  return VpcId_;
}
void DescribeVSwitchesRequest::SetVpcId(const string& VpcId) {
  VpcId_ = VpcId;
  PutQueryParameter("VpcId", VpcId_);
}

const string& DescribeVSwitchesRequest::GetVSwitchId(void) const {
  return VSwitchId_;
}
void DescribeVSwitchesRequest::SetVSwitchId(const string& VSwitchId) {
  VSwitchId_ = VSwitchId;
  PutQueryParameter("VSwitchId", VSwitchId_);
}

const string& DescribeVSwitchesRequest::GetZoneId(void) const {
  return ZoneId_;
}
void DescribeVSwitchesRequest::SetZoneId(const string& ZoneId) {
  ZoneId_ = ZoneId;
  PutQueryParameter("ZoneId", ZoneId_);
}

int DescribeVSwitchesRequest::GetPageNumber(void) const {
  return PageNumber_;
}
bool DescribeVSwitchesRequest::SetPageNumber(int PageNumber) {
  if(PageNumber < 1) {
    return false;
  }
  PageNumber_ = PageNumber;
  PutQueryParameter("PageNumber", string_ValueOfInt(PageNumber_));
  return true;
}

int DescribeVSwitchesRequest::GetPageSize(void) const {
  return PageSize_;
}
bool DescribeVSwitchesRequest::SetPageSize(int PageSize) {
  if(PageSize < 1) {
    return false;
  }
  if(PageSize > 50) {
    return false;
  }
  PageSize_ = PageSize;
  PutQueryParameter("PageSize", string_ValueOfInt(PageSize_));
  return true;
}

const string& DescribeVSwitchesRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void DescribeVSwitchesRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Ecs {

// end of file 
